package com.shunwang.htmlparser.generator.impl;

import java.io.IOException;

import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;

import com.shunwang.htmlparser.generator.DocumentGenerator;

public class DocumentHtmlContentGenerator<String> implements DocumentGenerator<String> {

	@Override
	public Document generator(String source) throws IOException {
		return Jsoup.parse((java.lang.String) source);
	}

}
